All Questions
3 questions
1vote
3answers
175views
Should I keep "redirect only" methods in my Controller?
Controller: function indexAction() { if ($condition) $this->renumPosition($id); //LINE #1 } //Redirect only - function's sole purpose is to call another function function ...
7votes
2answers
1kviews
Am I using Zend Form library correctly? (I am effectively duplicating work in Controller and in View)
Brief Summary This question is asking for guidance on how to deal with Zend Form library that allows me to specify how to construct each form element (Controller side) and how to render each element (...
6votes
6answers
2kviews
How do you know when to split an object method into 2 or more other methods?
I know this is a very basic question, but I sometimes find myself struggling to figure out when to split a single object method into multiple methods. For example, I am trying to set up an ACL using ...